package com.cade.agriculturemall.view.personalCenter.ordersManage.OrderItems;

/**
 * Created by Lobby on 2017/12/26.
 */

public class OrderViewModel<T> {
    public static final int TYPE_STATUS = 0;
    public static final int TYPE_ADRESS = 1;
    public static final int TYPE_SJ = 2;
    public static final int TYPE_CP = 3;
    public static final int TYPE_ITEMS = 4;
    public static final int TYPE_COUNT = 5;
    public static final int TYPE_SJ_FOOTER = 6;
    public static final int TYPE_REMARK = 7;


    private int type;
    private T object;

    public OrderViewModel(int type, T object) {
        this.type = type;
        this.object = object;
    }

    public int getType() {
        return type;
    }

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }
}
